/*
 * @Author: WangXuhao
 * @Date: 2024-07-01 10:36:27
 * @LastEditTime: 2024-07-02 11:45:37
 * @LastEditors: WangXuhao
 * @Description: 
 * @FilePath: \html\html5\VUE3\1-vue-app-基础\src\main.js
 * 可以输入预定的版权声明、个性签名、空行等
 */
import { createApp } from 'vue'
// import './style.css'
import App from './1-vue/08-非父子通信-订阅发布模式/App.vue'
import router from './6-pinia/router'
import {createPinia} from 'pinia'
import 'vant/lib/index.css'
import {Swipe, SwipeItem} from 'vant'
const pinia = createPinia()

var app = createApp(App)
app.use(router) // 注册路由对象
app.use(pinia) // 注册pinia状态管理
app.use(Swipe)
app.use(SwipeItem)
app.mount('#app')
 